﻿
namespace sinetd.Services.Modbus
{
    // http://www.simplymodbus.ca/FC*.htm
    public enum FunctionCodes
    {
        ReadCoilStatus = 0x01,
        ReadInputStatus = 0x02,
        ReadHoldingRegisters = 0x03,
        ReadInputRegisters = 0x04,
        ForceSingleCoil = 0x05,
        PresetSingleRegister = 0x06,
        ForceMultipleCoils = 0x15,
        PresetMultipleRegisters = 0x16
    }
}
